package com.hycreate.platform.modules.handleinfo;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;

/**
 * 处理记录Service
 * @author wang
 * @version 2017-11-29
 */
@Service
@Transactional(readOnly = true)
public class YhcgHandleinfoService extends CrudService<YhcgHandleinfoDao, YhcgHandleinfo> {

	public YhcgHandleinfo get(String id) {
		return super.get(id);
	}
	
	public List<YhcgHandleinfo> findList(YhcgHandleinfo yhcgHandleinfo) {
		return super.findList(yhcgHandleinfo);
	}
	
	public List<YhcgHandleinfo> findAllList(YhcgHandleinfo yhcgHandleinfo) {
		return dao.findAllList(yhcgHandleinfo);
	}
	public Page<YhcgHandleinfo> findPage(Page<YhcgHandleinfo> page, YhcgHandleinfo yhcgHandleinfo) {
		return super.findPage(page, yhcgHandleinfo);
	}
	
	
	@Transactional(readOnly = false)
	public void save(YhcgHandleinfo yhcgHandleinfo) {
		super.save(yhcgHandleinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(YhcgHandleinfo yhcgHandleinfo) {
		super.delete(yhcgHandleinfo);
	}
	
}